<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class=""> <!--<![endif]-->
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>程序猴后台管理系统安装程序</title>
    <link href="/static/admin/common/layui/css/layui.css" rel="stylesheet" />
    <link href="/static/install/css/install.css" rel="stylesheet" />
    <!--[if lt IE 9]>
    <![endif]-->

    <!--[if IE 8]>
    <![endif]-->

</head>
<body>
<div class="install-container">
    <div class="paper">
        <div class="paper-heading" style="margin-bottom: 80px;">
            <h2 style="display: inline-block;float: left;margin-right: 30px;"><img src="/static/install/images/install_logo.png" alt="" width="80"></h2>
            <h1 style="display: inline-block;float: left;line-height: 80px;"><span class="brand">程序猴后台管理系统</span><span class="text-muted">安装向导</span></h1>
        </div>
        <div class="paper-body">
            <div class="layui-progress layui-progress-big" lay-showPercent="true">
                <div class="layui-progress-bar layui-bg-blue" lay-percent="40%"></div>
            </div>
            <div class="install-box">
                <fieldset class="layui-elem-field layui-field-title">
                    <legend>运行环境检测</legend>
                </fieldset>
                <table class="layui-table" lay-skin="line">
                    <thead>
                    <tr>
                        <th>环境名称</th>
                        <th>当前配置</th>
                        <th>所需配置</th>
                    </tr>
                    </thead>
                    <tbody>
                    {volist name="data.env" id="vo"}
                    <tr class="{$vo[4]}">
                        <td>{$vo[0]}</td>
                        <td>{$vo[3]}</td>
                        <td>{$vo[2]}</td>
                    </tr>
                    {/volist}
                    </tbody>
                </table>
                <table class="layui-table" lay-skin="line">
                    <thead>
                    <tr>
                        <th>目录/文件</th>
                        <th>所需权限</th>
                        <th>当前权限</th>
                    </tr>
                    </thead>
                    <tbody>
                    {volist name="data.dir" id="vo"}
                    <tr class="{$vo[4]}">
                        <td>{$vo[1]}</td>
                        <td>{$vo[2]}</td>
                        <td>{$vo[3]}</td>
                    </tr>
                    {/volist}
                    </tbody>
                </table>
                <table class="layui-table" lay-skin="line">
                    <thead>
                    <tr>
                        <th>函数/扩展</th>
                        <th>类型</th>
                        <th>结果</th>
                    </tr>
                    </thead>
                    <tbody>
                    {volist name="data.func" id="vo"}
                    <tr class="{$vo[2]}">
                        <td>{$vo[0]}</td>
                        <td>{$vo[3]}</td>
                        <td>{$vo[1]}</td>
                    </tr>
                    {/volist}
                    </tbody>
                </table>
                <div class="step-btns" style="text-align: center">
                    <a href="javascript:history.back(-1);" class="layui-btn layui-btn-primary layui-btn-big fl" >返回上一步</a>
                    <a href="{:url('install/index/step3',['step'=>3])}" class="layui-btn layui-btn-big layui-btn-normal fr">进行下一步</a>
                </div>
            </div>

        </div>
    </div>
</div>

<script type="text/javascript" src="/static/admin/common/layui/layui.js"></script>
<script>
    //注意进度条依赖 element 模块，否则无法进行正常渲染和功能性操作
    layui.use(['jquery', 'layer','element'], function(){
        var $ = layui.$ //重点处
            ,layer = layui.layer;
    });
</script>
</body>
</html>